import 'package:flutter/material.dart';
import 'package:flutterDemo/http/dio_instance.dart';
import 'package:flutterDemo/repository/data_sync_service.dart';
import 'app.dart';

void main() {
  DioInstance.instance()
      .initDio(baseUrl: "https://www.wanandroid.com/"); //初始化请求路径
  // print("这没走吗");
  runApp(const MyApp());

  // 创建DataSyncService实例
  // final dataSyncService = DataSyncService();
  // 启动数据同步
  // dataSyncService.initState();
}
